import 'package:flutter/material.dart';

class SystemUtils {
  /** * 隐藏软键盘 */
  static hideSoftKeyboard(BuildContext context) {
    FocusNode blankNode = FocusNode(); //空白焦点,不赋值给任何输入框的focusNode
    FocusScope.of(context).requestFocus(blankNode); //指定为空白焦点
  }
}
